package cn.ys.system.domain;

import java.math.BigDecimal;
import java.security.Permissions;
import java.util.Date;
import java.util.List;

import cn.ys.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author ys
 * @since 2023-01-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role extends BaseDomain{

    private String name;
    private String sn;

    // 菜单权限集合
    private List<Long> menus;
    // 按钮权限集合
    private List<Long> permissions;
    // 角色拥有权限
    private List<Menu> ownMenus;

}
